﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddRestaurant.aspx.vb" Inherits="WSCC_GlutenfreeKent.AddRestaurant" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
.emptystar
{
    background-image: url("../Pictures/Star_empty.png") ;
    width: 50px;
    height: 50px;
}

.fullstar
{
    background-image: url("../Pictures/star_full.png");
    width: 50px;
    height: 50px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  


    <table >
<tr><td>Restaurant Name</td><td> <asp:TextBox ID="tb_RestaurantName" runat="server"></asp:TextBox></td></tr>
  <tr><td>Location</td><td> <asp:TextBox ID="tb_PostCode" runat="server"></asp:TextBox></td></tr>
  <tr><td>Description </td><td> <asp:TextBox ID="tb_Description" runat="server"></asp:TextBox></td></tr>
  <tr><td>Photo </td><td>
        <asp:FileUpload ID="f_Picture" runat="server" /></td></tr>
        <tr><td>Menu </td><td>
        <asp:FileUpload ID="f_Menu" runat="server" /></td></tr>
    <tr> <td> Rating </td><td> <ajaxToolkit:Rating ID="r_Rating" runat="server" EmptyStarCssClass="emptystar" FilledStarCssClass="fullstar" StarCssClass="fullstar" WaitingStarCssClass="emptystar"
     RatingAlign="Vertical" Visible="true" MaxRating="5" CurrentRating="0">
    </ajaxToolkit:Rating></td></tr>
    <tr><td>Last Review Date</td><td><asp:TextBox ID="tb_RestaurantLastReviewDate" runat="server"></asp:TextBox>
        <ajaxToolkit:CalendarExtender ID="e_RestaurantLastReviewDate" runat="server" 
            Enabled="True" TargetControlID="tb_RestaurantLastReviewDate" Format="dd MMMM yyyy" PopupPosition="BottomRight" >
        </ajaxToolkit:CalendarExtender></td></tr>
    <tr><td>Price Bracket  </td><td>
        <asp:RadioButtonList ID="rbl_PriceBracket" runat="server" 
            RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem>£</asp:ListItem>
            <asp:ListItem Value="2">££</asp:ListItem>
            <asp:ListItem Value="3">£££</asp:ListItem>
        </asp:RadioButtonList>
        </td></tr>
     <tr><td>Website</td><td>  <asp:TextBox ID="tb_URL" runat="server"></asp:TextBox></td></tr>



</table>
      
    
    <p>
      
        <br />
        <br />
        <br />
        <asp:Button ID="btn_AddRestaurant" runat="server" Text="Add Restaurant" />
        <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </ajaxToolkit:ToolkitScriptManager>
    </p>
       
</asp:Content>



